package com.white.commonlib;

import com.white.commonlib.base.AppContext;

/**
 * Created by yutf on 2017/9/4 0004.
 */

public class CommonEngine
{
    /***
     * 构造一个AppConfig初始化
     */
    public static void init(AppConfig config)
    {
        if(config == null)
            throw new RuntimeException("config can't be null");
        AppContext.getContext().setAppConfig(config);
    }
}
